











 

<html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title>QuickIO.NET - Win32FileHandle</title>
        <meta name="viewport" content="width=device-width">

		
			<link rel="stylesheet" type="text/css" href="../assets/css/style.css" />
			<script src="../assets/js/vendor.js"></script>
			<script src="../assets/js/frame.js"></script>
		

		<script>hljs.initHighlightingOnLoad();</script>

    </head>
    <body>        
        
		<!-- DropDowns -->
		<div id="dropdown-1" class="dropdown dropdown-tip">
			<ul class="dropdown-menu">
				
			</ul>
		</div>

		<div id="dropdown-2" class="dropdown dropdown-tip">
			<ul class="dropdown-menu">
				
			</ul>
		</div>

		<div id="dropdown-3" class="dropdown dropdown-tip">
			<ul class="dropdown-menu">
				

					<li><a href="#Win32FileHandle2"><img alt="Method-Icon" src="../assets/images/icons/Method_public.png"> Win32FileHandle(IntPtr preExistingHandle, Boolean ownsHandle)</a></li>

				

					<li><a href="#Win32FileHandle"><img alt="Method-Icon" src="../assets/images/icons/Method_internal.png"> Win32FileHandle()</a></li>

				

				

					<li><a href="#Dispose"><img alt="Method-Icon" src="../assets/images/icons/Method_protected.png"> Dispose(Boolean disposing)</a></li>

				

					<li><a href="#ReleaseHandle"><img alt="Method-Icon" src="../assets/images/icons/Method_protected.png"> ReleaseHandle()</a></li>

				
			</ul>
		</div>

		<div id="dropdown-4" class="dropdown dropdown-tip">
			<ul class="dropdown-menu">
				
			</ul>
		</div>
		<!-- DropDowns Ende -->

	    <div class="ui-layout-north">
			<div class="toolbar">

				
					<a href="#" data-dropdown="#dropdown-3" class="button"><img src="../assets/images/icons/Method_public.png"/> Methods <span class="info">(4)</span> <i class="icon-caret-down"></i></a>
				

				<div class="right">
					<span class="toolbar-info"> Namespace: SchwabenCode.QuickIO.Win32API</span>
					<a href="#" id="expand-all-button" class="button"><i class="icon-align-justify" title="Expand all"></i></a>
					<a href="#" id="print-button" class="button"><i class="icon-print" title="Print"></i></a>
				</div>
			</div>
		</div>
        
		<div class="ui-layout-center">
			
			
				<div id="sd-class-diagram">
					
					<svg height="175.50" width="182.00"><g transform=""><rect height="171" width="181" x="0.55" y="0.55" fill="#FFFFFF" stroke="#979797" stroke-width="1" /><text x="52.65" y="20.50" fill="" style="" text-anchor="" font-family="" font-size="11.00" onmouseover="" onmouseout=""><![CDATA[internal  class]]></text><a xlink:href="../type/Win32FileHandle.html" xmlns:xlink="xlink"><text x="32.44" y="40.50" fill="#1382CE" style="" text-anchor="" font-family="" font-size="14.00" onmouseover="this.setAttribute('fill', '#F58026')" onmouseout="this.setAttribute('fill', '#1382CE')"><![CDATA[Win32FileHandle]]></text></a><path d="M0.5,55.50L182.00,55.50" stroke="#979797" stroke-width="1" /><image width="16.00" height="16.00" x="15.00" y="68.50" preserveAspectRatio="" xlink:href="" xmlns:xlink="xlink" /><a xlink:href="../type/Win32FileHandle.html#Win32FileHandle2" xmlns:xlink="xlink"><text x="40.00" y="80.50" fill="#1382CE" style="" text-anchor="" font-family="" font-size="14.00" onmouseover="this.setAttribute('fill', '#F58026')" onmouseout="this.setAttribute('fill', '#1382CE')"><![CDATA[Win32FileHandle]]></text></a><image width="16.00" height="16.00" x="15.00" y="93.50" preserveAspectRatio="" xlink:href="" xmlns:xlink="xlink" /><a xlink:href="../type/Win32FileHandle.html#Win32FileHandle" xmlns:xlink="xlink"><text x="40.00" y="105.50" fill="#1382CE" style="" text-anchor="" font-family="" font-size="14.00" onmouseover="this.setAttribute('fill', '#F58026')" onmouseout="this.setAttribute('fill', '#1382CE')"><![CDATA[Win32FileHandle]]></text></a><image width="16.00" height="16.00" x="15.00" y="118.50" preserveAspectRatio="" xlink:href="" xmlns:xlink="xlink" /><a xlink:href="../type/Win32FileHandle.html#Dispose" xmlns:xlink="xlink"><text x="40.00" y="130.50" fill="#1382CE" style="" text-anchor="" font-family="" font-size="14.00" onmouseover="this.setAttribute('fill', '#F58026')" onmouseout="this.setAttribute('fill', '#1382CE')"><![CDATA[Dispose]]></text></a><image width="16.00" height="16.00" x="15.00" y="143.50" preserveAspectRatio="" xlink:href="" xmlns:xlink="xlink" /><a xlink:href="../type/Win32FileHandle.html#ReleaseHandle" xmlns:xlink="xlink"><text x="40.00" y="155.50" fill="#1382CE" style="" text-anchor="" font-family="" font-size="14.00" onmouseover="this.setAttribute('fill', '#F58026')" onmouseout="this.setAttribute('fill', '#1382CE')"><![CDATA[ReleaseHandle]]></text></a></g></svg>
				</div>
			

			<div class="right-margin">
				<h3 class="box-title first-heading">Syntax</h3>					
				<div class="syntax-box">
					<pre class="wrap-pre"><code>internal class Win32FileHandle : SafeHandleZeroOrMinusOneIsInvalid</code></pre>
				</div>

				
					<h3 class="box-title">Basetype</h3>
					<div class="list-box">
						<ul>
						
								<li>Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid</a></li>
							
						
						</ul>
					</div>
				

				
        
				

					
						<h3 class="box-title">Summary</h3>
						<div class="doc-box markdown">
							<p>Provides a class for Win32 safe handle implementations</p>

						</div>
					

					

					

					

					

					

					

					

				

				
					<h3 class="box-title">Uses</h3>
					<div class="list-box">
						<ul>
						
							<li><a href="../type/Win32SafeNativeMethods2.html">Win32SafeNativeMethods</a></li>
						
						</ul>
					</div>
				

				

				

				

				
					<h3 class="box-title">Methods</h3>
					
						












 



<div id="Win32FileHandle2" class="member">
	<div class="member-header">		
		<a href="#"><i class="icon-caret-right"></i><img src="../assets/images/icons/Method_public.png"/> <p>Win32FileHandle(IntPtr preExistingHandle, Boolean ownsHandle)</p></a>
		
			
				<div class="summary markdown">
					<p>Initializes a new instance of the Win32ApiFileHandle class, specifying whether the handle is to be reliably released.</p>

				</div>
			
		
	</div>

	<div class="member-content">

		<div class="syntax-box">
			<pre class="wrap-pre"><code>public void Win32FileHandle(IntPtr preExistingHandle, Boolean ownsHandle)</code></pre>
		</div>		
        
		
		
			

			

			

			

			

			
						
			

		

		

	</div>
</div>


					
						












 



<div id="Win32FileHandle" class="member">
	<div class="member-header">		
		<a href="#"><i class="icon-caret-right"></i><img src="../assets/images/icons/Method_internal.png"/> <p>Win32FileHandle()</p></a>
		
			
				<div class="summary markdown">
					<p>Initializes a new instance of the Win32ApiFileHandle class, specifying whether the handle is to be reliably released.</p>

				</div>
			
		
	</div>

	<div class="member-content">

		<div class="syntax-box">
			<pre class="wrap-pre"><code>internal void Win32FileHandle()</code></pre>
		</div>		
        
		
		
			

			

			

			

			

			
						
			

		

		

	</div>
</div>


					
						












 



<div id="Dispose" class="member">
	<div class="member-header">		
		<a href="#"><i class="icon-caret-right"></i><img src="../assets/images/icons/Method_protected.png"/> <p>Dispose(Boolean disposing)</p></a>
		
			
				<div class="summary markdown">
					<p>Releases the unmanaged resources used by the Win32ApiFileHandle class specifying whether to perform a normal dispose operation.</p>

				</div>
			
		
	</div>

	<div class="member-content">

		<div class="syntax-box">
			<pre class="wrap-pre"><code>protected void Dispose(Boolean disposing)</code></pre>
		</div>		
        
		
		
			

			

			

			

			

			
						
			

		

		

	</div>
</div>


					
						












 



<div id="ReleaseHandle" class="member">
	<div class="member-header">		
		<a href="#"><i class="icon-caret-right"></i><img src="../assets/images/icons/Method_protected.png"/> <p>ReleaseHandle()</p></a>
		
			
				<div class="summary markdown">
					<p>When overridden in a derived class, executes the code required to free the handle.</p>

				</div>
			
		
	</div>

	<div class="member-content">

		<div class="syntax-box">
			<pre class="wrap-pre"><code>protected Boolean ReleaseHandle()</code></pre>
		</div>		
        
		
		
			

			

			

			

			

			
						
			

		

		

	</div>
</div>


					
				

				
			</div>
		</div>

    </body>
</html>

